package com.pinxixi.search.client;

import com.pinxixi.framework.client.PxxServiceList;
import com.pinxixi.framework.domain.goods.Item;
import com.pinxixi.framework.model.response.ListResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = PxxServiceList.PINXIXI_SERVICE_GOODS)
public interface ItemApiClient {

    @GetMapping("/item/findAll")
    ListResponseResult<Item> findAllItem();

}
